package ouhenry.stage.manage.form;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "用户表单")
public class UserForm implements Serializable {

    private static final long serialVersionUID = -7323413280389092654L;

//    @NotNull(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名")
    private String userName;

//    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;

    private Long userId;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "UserLoginForm [userName=" + userName + ", password=" + password + "]";
    }

}
